import request from '@/utils/request'

// 应用列表
const URL_PREFIX = '/statistics'

/**
 * 查询总数据
 */
export function getTotal() {
  return request({
    url: URL_PREFIX + '/getTotal',
    method: 'GET'
  })
}

/**
 * 查询应用排行榜
 */
export function getClientRankList(params) {
  return request({
    url: URL_PREFIX + '/getClientRankList',
    method: 'GET',
    params
  })
}

/**
 * 查询应用访问记录统计
 */
export function getClientVisitStc(params) {
  return request({
    url: URL_PREFIX + '/getClientVisitStc',
    method: 'GET',
    params
  })
}
